home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / QBWIZ12.ARJ / COLORB.ASM < prev    next >
Assembly Source File  |  1991-02-20  |  1KB  |  42 lines

  1. comment #
  2.  
  3.    +----------------------------------------------------------------------+
  4.    |                                                                      |
  5.    |         QBWIZ  Copyright (c) 1990-1991  Thomas G. Hanlin III         |
  6.    |                                                                      |
  7.    |                       QuickBASIC Access Library                      |
  8.    |                                                                      |
  9.    |               assembled with the excellent OPTASM by SLR             |
  10.    |                                                                      |
  11.    +----------------------------------------------------------------------+
  12.  
  13. #
  14.  
  15. public  COLORBURST
  16.  
  17.  
  18. .model medium
  19.  
  20. .code
  21.  
  22.  
  23.  
  24. COLORBURST    proc                     ; get color burst value
  25.               xor            ax,ax
  26.               mov            al,b$Burst
  27.               or             ax,ax
  28.               jz             Done
  29.               mov            ax,-1
  30. Done:         ret
  31. COLORBURST    endp                     ; get color burst value
  32.  
  33.  
  34.  
  35. .data
  36.  
  37. extb  b$Burst
  38.  
  39.  
  40.  
  41.               end
  42.